package com.ct.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("city_info") // 指定实体和数据库表kss-user做映射
public class CityInfo implements Serializable {
    // 用户id
    @TableId(type = IdType.AUTO)
    public Integer id;
    @TableField("city_code")
    public String cityCode;
    @TableField(value = "city_name")
    public String cityName;
    @TableField(value = "create_time",fill= FieldFill.INSERT)
    public Date createTime;
    @TableField("params_content")
    public String paramsContent;
    @TableField("auto_sync")
    public int autoSync;

}
